//
//  JXMarkArrowView.swift
//  StockProject
//
//  Created by mc on 2018/1/2.
//  Copyright © 2018年 zhangyufei. All rights reserved.
//

import UIKit
import Instructions

class JXMarkArrowView: UIImageView, CoachMarkArrowView {
    init(orientation: CoachMarkArrowOrientation) {
        if orientation == .top {
            super.init(image: UIImage(named: "arrow-top"))
        } else {
            super.init(image: UIImage(named: "arrow-bottom"))
        }
        
        self.translatesAutoresizingMaskIntoConstraints = false
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
